package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.StrategyTravel;
import cn.wolfcode.trip.base.domain.Travel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StrategyTravelMapper {
    int insert(StrategyTravel record);

    List<StrategyTravel> selectAll();

    void deleteRelation(@Param("strategyId")Long strategyId, @Param("travelId")Long travelId);

    List<Travel> selectTravelsByStrategyId(Long strategyId);
}